<template>
  <div class="article_show space">
    <MyNavBar
      title="文章详情"
      left-arrow
      fixed
      @click-left="leftArrowClick"
    ></MyNavBar>
    <MyArticleDetial :id="curArticleId"></MyArticleDetial>
  </div>
</template>

<script>
import MyNavBar from '@/components/MyNavBar.vue'
import MyArticleDetial from '@/components/MyArticleDetial.vue'
export default {
  name: 'articleshow',
  data() {
    return {}
  },
  methods: {
    leftArrowClick() {
      this.$router.back()
    }
  },
  computed: {
    curArticleId() {
      return this.$route.query.aid
    }
  },
  components: {
    MyNavBar,
    MyArticleDetial
  }
}
</script>

<style lang="less" scoped></style>
